package main

import (
	"gin-gorm-learn/router"
	"github.com/gin-gonic/gin"
	"log"
)

func main() {
	ginServer := gin.Default()
	router.InitRouter(ginServer)
	err := ginServer.Run(":8081")
	if err != nil {
		log.Fatal(err)
	}
}
